<div id="comment_list">
  <%@comments = @topic.comments%>
  <% comments.each do |comment| %>
    <%=h comment.comment_content%><p></p>
  <% end %>
    <%if page > 1 %>
    <%= link_to_remote "上一页", :url=>{:controller=>"topics", :action=>"last_page", :page=>page } %>
    <%end%>
    <%if @comments.count == 5 %>
    <%= link_to_remote "下一页", :url=>{:controller=>"topics", :action=>"next_page", :page=>page } %>
    <%end%>
</div>
